//
//  EVECDSkillPlan.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 5/4/09.
//  Copyright 2009  __Vadim__. All rights reserved.
//

#import <CoreData/CoreData.h>

@class EVECDCharacter;
@class EVECDSkillPlanItem;

@interface EVECDSkillPlan :  NSManagedObject  
{
	double charismaValueWOLearning;
	double intelligenceValueWOLearning;
	double memoryValueWOLearning;
	double perceptionValueWOLearning;
	double willpowerValueWOLearning;
}

@property (retain) NSString * name;
@property (retain) EVECDCharacter * planFor;
@property (retain) NSSet* skillPlanItems;

@end

@interface EVECDSkillPlan (CoreDataGeneratedAccessors)
- (void)addSkillPlanItemsObject:(EVECDSkillPlanItem *)value;
- (void)removeSkillPlanItemsObject:(EVECDSkillPlanItem *)value;
- (void)addSkillPlanItems:(NSSet *)value;
- (void)removeSkillPlanItems:(NSSet *)value;

@end

@interface EVECDSkillPlan (SkillPlannerExtras)

-(void)recalculateTrainingTimes;
-(NSNumber*)previousPlannedSkillFinishDateFromSkillPlanItem:(EVECDSkillPlanItem*)item;

@end
